let goodsData = [{
  id: 0,
  name: '猪蹄',
  category: '卤味熟食',
  price: 43,
  discount: 32,
  num: 65,
  isRed: false
}, {
  id: 1,
  name: '榴莲',
  category: '优选水果',
  price: 123,
  discount: 72,
  num: 85,
  isRed: true
}, {
  id: 2,
  name: '青岛啤酒',
  category: '饮料酒水',
  price: 24,
  discount: 16,
  num: 265,
  isRed: false
}, {
  id: 3,
  name: '巧乐兹',
  category: '休闲零食',
  price: 89,
  discount: 62,
  num: 665,
  isRed: true
}, {
  id: 4,
  name: '牛肉',
  category: '卤味熟食',
  price: 243,
  discount: 169,
  num: 615,
  isRed: true
}, {
  id: 5,
  name: '好丽友派',
  category: '休闲零食',
  price: 19,
  discount: 16,
  num: 155,
  isRed: false
}, {
  id: 6,
  name: '香蕉',
  category: '优选水果',
  price: 59,
  discount: 38,
  num: 125,
  isRed: false
}, {
  id: 7,
  name: '雪碧',
  category: '饮料酒水',
  price: 12,
  discount: 9,
  num: 215,
  isRed: true
}, {
  id: 8,
  name: '赣南脐橙',
  category: '优选水果',
  price: 199,
  discount: 139,
  num: 365,
  isRed: false
}, {
  id: 9,
  name: '卫龙辣条',
  category: '休闲零食',
  price: 16,
  discount: 5,
  num: 265,
  isRed: false
}, {
  id: 10,
  name: '鸡翅',
  category: '卤味熟食',
  price: 33,
  discount: 22,
  num: 55,
  isRed: false
}, {
  id: 11,
  name: '苹果',
  category: '优选水果',
  price: 73,
  discount: 32,
  num: 465,
  isRed: true
}, {
  id: 12,
  name: '鲜橙多',
  category: '饮料酒水',
  price: 15,
  discount: 8,
  num: 565,
  isRed: false
}, {
  id: 13,
  name: '沙琪玛',
  category: '休闲零食',
  price: 39,
  discount: 19,
  num: 95,
  isRed: true
}, {
  id: 14,
  name: '山竹',
  category: '优选水果',
  price: 66,
  discount: 49,
  num: 85,
  isRed: false
}, {
  id: 15,
  name: '烤鸭',
  category: '卤味熟食',
  price: 58,
  discount: 42,
  num: 87,
  isRed: true
}];